﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="_estDefensiva.ascx.cs" Inherits="BoxScore.Estadisticas._estDefensiva" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>


<asp:GridView ID="gvDefensivo" runat="server" AutoGenerateColumns="False" 
    DataSourceID="ObjectDataSource1" DataKeyNames="id">
    <Columns>
        <asp:TemplateField>
            <ItemTemplate>
                <asp:CheckBox ID="CheckBox1" runat="server" Text="" Checked="true" 
                    AutoPostBack="True" oncheckedchanged="CheckBox1_CheckedChanged1"
                     />
            </ItemTemplate>
        </asp:TemplateField>
        <asp:BoundField DataField="id" HeaderText="id" SortExpression="id" 
            Visible="False" />
        <asp:BoundField DataField="descripcion" HeaderText="Posicion" 
            SortExpression="descripcion" />
        <asp:TemplateField ShowHeader="False">
            <ItemTemplate>
            
                <table>
                    <tr>
                        <th>IP</th>
                        <th>O</th>
                        <th>A</th>
                        <th>E</th>
                        <th>DP</th>
                        <th>PB</th>
                        <th></th>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="TextBox1" runat="server" Columns="5" MaxLength="4"></asp:TextBox>
                            <asp:MaskedEditExtender ID="TextBox1_MaskedEditExtender" runat="server" 
                                CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                                CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                                CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" 
                                InputDirection="RightToLeft" Mask="99.9" MaskType="Number" 
                                TargetControlID="TextBox1">
                            </asp:MaskedEditExtender>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox2" runat="server" Columns="3" MaxLength="2"></asp:TextBox>
                            <asp:FilteredTextBoxExtender ID="TextBox2_FilteredTextBoxExtender" 
                                runat="server" Enabled="True" FilterType="Numbers" TargetControlID="TextBox2">
                            </asp:FilteredTextBoxExtender>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox3" runat="server" Columns="3" MaxLength="2"></asp:TextBox>
                            <asp:FilteredTextBoxExtender ID="TextBox3_FilteredTextBoxExtender" 
                                runat="server" Enabled="True" FilterType="Numbers" TargetControlID="TextBox3">
                            </asp:FilteredTextBoxExtender>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox4" runat="server" Columns="3" MaxLength="2"></asp:TextBox>
                            <asp:FilteredTextBoxExtender ID="TextBox4_FilteredTextBoxExtender" 
                                runat="server" Enabled="True" FilterType="Numbers" TargetControlID="TextBox4">
                            </asp:FilteredTextBoxExtender>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox5" runat="server" Columns="3" MaxLength="2"></asp:TextBox>
                            <asp:FilteredTextBoxExtender ID="TextBox5_FilteredTextBoxExtender" 
                                runat="server" Enabled="True" FilterType="Numbers" TargetControlID="TextBox5">
                            </asp:FilteredTextBoxExtender>
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox6" runat="server" Columns="3" MaxLength="2" 
                                ></asp:TextBox>
                            <asp:FilteredTextBoxExtender ID="TextBox6_FilteredTextBoxExtender" 
                                runat="server" Enabled="True" FilterType="Numbers" TargetControlID="TextBox6">
                            </asp:FilteredTextBoxExtender>
                        </td>
                        <td>
                            <asp:HiddenField ID="hf1" runat="server" 
                                Value='<%# Eval("id", "{0}") %>' />
                        </td>
                    </tr>                                
                </table>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
    SelectMethod="getTabla" TypeName="BoxScore.Model.BoxScoreBD">
    <SelectParameters>
        <asp:Parameter DefaultValue="dposition" Name="tabla" Type="String" />
    </SelectParameters>
</asp:ObjectDataSource>

                               